Fix scaling for horizontal components of maps.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 10 Sep 2003 22:40:03 +0000 (22:40 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 10 Sep 2003 22:40:03 +0000 (22:40 +0000)
gpsbabel/tiger.c

index c847012d178f175a86aa97c2c2ad040005e1e56a..8891d32ad34e7c19925bdd077cc8c11301884d76 100644 (file)
@@ -248,11 +248,11 @@ data_write(void)
                 * Center the map along X and Y axis the midpoint of
                 * our min and max coords each way.   
                 */
-               fprintf(urlf, "lat=%f&lon=%f&wid=%f&ht=%f",
+               fprintf(urlf, "lat=%f&lon=%f&ht=%f&wid=%f",
                                minlat + (latsz/2.0),
                                minlon + (lonsz/2.0),
                                dscale(latsz),
-                               dscale(latsz));
+                               dscale(lonsz));
 
                if (scale) {
                        fprintf(urlf, "&iwd=%s&iht=%s", scale, scale);